﻿Imports System
Imports System.Collections.Generic
Imports System.Text

Namespace SPDTO
    Public Class CsanphamDTO
        Private _mach As String = String.Empty
        Private _giatien As String = String.Empty
        Private _loaich As String = String.Empty
        Private _ngaybatdauthue As DateTime = DateTime.Today
        Private _ngayketthucthue As DateTime = DateTime.Today
        Private _diachi As String = String.Empty
        Private _manvql As String = String.Empty
      
#Region "constructor"
        Public Sub New()

        End Sub
        Public Sub New(ByVal diachi As String, ByVal mach As String, ByVal giatien As String, ByVal loaich As String, ByVal ngaybatdauthue As DateTime, ByVal manvql As String, ByVal ngayketthucthue As DateTime)
            Me._mach = mach
            Me._giatien = giatien
            Me._loaich = loaich
            Me._ngaybatdauthue = ngaybatdauthue
            Me._ngayketthucthue = ngayketthucthue
            Me._diachi = diachi
            Me._manvql = manvql

        End Sub
#End Region

#Region "properties"

        Public Property mach() As String
            Get
                Return Me._mach
            End Get
            Set(ByVal value As String)
                Me._mach = value
            End Set
        End Property
        Public Property giatien() As String
            Get
                Return Me._giatien
            End Get
            Set(ByVal value As String)
                Me._giatien = value
            End Set
        End Property
        Public Property loaich() As String
            Get
                Return Me._loaich
            End Get
            Set(ByVal value As String)
                Me._loaich = value
            End Set
        End Property
        Public Property ngaybatdauthue() As DateTime
            Get
                Return Me._ngaybatdauthue
            End Get
            Set(ByVal value As DateTime)
                Me._ngaybatdauthue = value
            End Set
        End Property
        Public Property ngayketthucthue() As DateTime
            Get
                Return Me._ngayketthucthue
            End Get
            Set(ByVal value As DateTime)
                Me._ngayketthucthue = value
            End Set
        End Property
     
        Public Property manvql() As String
            Get
                Return Me._manvql
            End Get
            Set(ByVal value As String)
                Me._manvql = value
            End Set
        End Property
        Public Property diachi() As String
            Get
                Return Me._diachi
            End Get
            Set(ByVal value As String)
                Me._diachi = value
            End Set
        End Property
#End Region

    End Class
End Namespace

